/*
 * @Author: hu_binbin
 * @Date: 2021-06-04 10:24:31
 * @LastEditTime: 2021-06-04 10:29:14
 * @Description: 试验数据api
 */
import request from '@/utils/request'

/**
 * @description: 获取隐患记录 
 * @param {Object} data 请求参数
 */
export function getExperiRecord(data) {
	return new Promise((resolve, reject) => {
        //server-name/sys/sendPhoneSms
        request.post('/server-name/sys/sendPhoneSms', data).then(res => {
            if(res) {
                resolve(res)
            } else {
                resolve(false)
            }
        }, err => {
            reject(err)
        })
	})
}